// 订单相关的接口函数
import request  from "@/utils/http";

// 生成-订单(结算页)
export function getCheckInfoAPI() {
    return request({
        url: '/member/order/pre',
        method: 'get'
    })
}

// 提交-订单
export function createOrderAPI(data) {
    return request({
        url: '/member/order',
        method: 'post',
        data
    })
}